<html>
<head><meta charset="utf-8"><title>how to build rustc with -Zverbose · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/how.20to.20build.20rustc.20with.20-Zverbose.html">how to build rustc with -Zverbose</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="217241897"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/how%20to%20build%20rustc%20with%20-Zverbose/near/217241897" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aman Arora <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/how.20to.20build.20rustc.20with.20-Zverbose.html#217241897">(Nov 19 2020 at 08:51)</a>:</h4>
<p>how to build rustc with -Zverbose. I tried <code>RUSTFLAGS=-Zverbose &lt;build cmd&gt;</code> but I get -Z are only allowed on nightly (not surprising I guess). </p>
<p>When I run x.py --verbose, it seem to be printing info on bootstrapping than running rust with -Zverbose</p>



<a name="217267634"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/how%20to%20build%20rustc%20with%20-Zverbose/near/217267634" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/how.20to.20build.20rustc.20with.20-Zverbose.html#217267634">(Nov 19 2020 at 13:22)</a>:</h4>
<p>-Z verbose is a rustc flag? Try |<code>RUSTFLAGS_BOOTSTRAP</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>